#include<conio.h>
#include<graphics.h>
#define High 480
#define Width 640

int ball1_x,ball1_y;
int ball2_x,ball2_y;
int radius;

void startup()
{
	ball1_x=Width/3;
	ball1_y=High/3;
	ball2_x=width*2/3;
	ball2_y=High*2/3;
	radius=20;
	initgraph(Width,High);
	BeginBatchDraw();
} 

void clean()
{
	setcolor(BLACK);
	setfillcolor(BLACK);
	fillcircle(ball1_x,ball1_y,radius);
	fillcircle(ball2_x,ball2_y,radius);
}

void show()
{
	setcolor(GREEN);
	setfillcolor(GREEN);
	fillcircle(ball1_x,ball1_y,radius);
	setcolor(RED);
	setfillcolor(RED);
	fillcircle(ball2_x,ball2_y,radius);
	FlushBatchDraw();
	sleeo(3);
}
void updateWithoutInput()
{
}

void updateWithInput()
{
	char input;
	if(kbhit())
	{
		input=getch();
		int step=10;
	}
} 



